/*
 * Copyright (C) 2010-2011 Comcast Cable.  All Rights Reserved.
 */
package com.hercules.android.receiver.handlers.commands;

/**
 * This exception is the base of exceptions raised by XRENewCommandHandler/XRESetCommandHandler/XREDeleteCommandHandler.
 * It is raised if any error occurs while handling the NEW/SET/DELETE/CALL commands.
 * <p>
 * Note the exception will only be propagated to XREAggregateCommandHandler and then processed by
 * XRECommandErrorHandler. It extends XRECommandHandlerException.
 * <p>
 * <b>Thread Safety:</b> This class is not thread safe as its base class is not thread safe.
 *
 * @author liuliquan, 7realm
 * @version 1.0
 */
public class XREObjectCommandHandlerException extends XRECommandHandlerException {
    /** Serial version UID. */
    private static final long serialVersionUID = -3433781683373992333L;

    /**
     * Creates a new instance of XREObjectCommandHandlerException with given error message.
     *
     * @param message the error message
     */
    public XREObjectCommandHandlerException(String message) {
        super(message);
    }

    /**
     * Creates a new instance of XREObjectCommandHandlerException with given error message and the cause.
     *
     * @param message the error message
     * @param cause the cause of the exception
     */
    public XREObjectCommandHandlerException(String message, Throwable cause) {
        super(message, cause);
    }
}